package managers.conversationManager;

import spotGUI.floatingChatGUI.FloatingChat;
import spotGUI.floatingChatGUI.ReceiveFilePanel;
import spotGUI.floatingChatGUI.SendFilePanel;

public class FileTransferManager {

	private SendFilePanel sp;
	private ReceiveFilePanel rp;
	private FloatingChat chat;
	
	
	public FileTransferManager (FloatingChat chat, SendFilePanel sp, ReceiveFilePanel rp) {
		this.sp = sp;
		this.rp = rp;
		this.chat = chat;
	}
	
	public void enableFileTransfer (boolean enabled) {
		chat.enableFeatures("fileTransfer", enabled);
	}
	

	public SendFilePanel getSendFileFeedback() {
		return sp;
	}

	public ReceiveFilePanel getReceiveFileFeedback() {
		return rp;
	}
	
	
}
